using Volo.Abp.Application.Dtos;

namespace ERP.RepositoryManage.Dtos
{
    /// <summary>
    /// 客户选择DTO
    /// </summary>
    public class CustomerSelectDto : EntityDto<int>
    {
        /// <summary>
        /// 客户编码
        /// </summary>
        public string CustomerCode { get; set; } = string.Empty;

        /// <summary>
        /// 客户名称
        /// </summary>
        public string CustomerName { get; set; } = string.Empty;

        /// <summary>
        /// 客户类型
        /// </summary>
        public string CustomerType { get; set; } = string.Empty;

        /// <summary>
        /// 客户联系电话
        /// </summary>
        public string CustomerPhone { get; set; } = string.Empty;

        /// <summary>
        /// 是否有效
        /// </summary>
        public int IsNo { get; set; }

        /// <summary>
        /// 有效状态显示
        /// </summary>
        public string IsNoDisplay => IsNo == 1 ? "有效" : "无效";
    }
} 